import request from '../utils/request'

export function labelList () {
  return request({
    url: '/label/',
    method: 'get'
  })
}

export function labelPost (data) {
  return request({
    url: '/label/',
    method: 'post',
    data: data
  })
}

export function labelUpdate (data) {
  return request({
    url: '/label/',
    method: 'put',
    data: data
  })
}

export function labelDelete (data) {
  return request({
    url: '/label/delete',
    method: 'delete',
    data: data
  })
}

export function labelReset (data) {
  return request({
    url: '/label/reset',
    method: 'POST',
    data: data
  })
}
